#ifndef DWGCIRCLE2_H
#define DWGCIRCLE2_H

#include "dwgobject.h"

class DwgCircle2 : public DwgObject
{
    Q_OBJECT
public:
    explicit DwgCircle2(QObject *parent = nullptr);

    // 实现基类纯虚函数
    void Draw(QPainter *painter) override;
    void SetData(QPointF pt1, QPointF pt2) override;
    void Select(QPointF pt);

private:
    QPointF mCenPt;  // 圆心
    qreal mRad;      // 半径
};

#endif // DWGCIRCLE2_H
